[INFO] cloning repository https://github.com/mmcclimon/advent-2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmcclimon/advent-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 62d36b472cab895d2f42f228218b5bd4140d92dd
[INFO] testing mmcclimon/advent-2020 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fadvent-2020" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mmcclimon/advent-2020
[INFO] finished tweaking git repo https://github.com/mmcclimon/advent-2020
[INFO] tweaked toml for git repo https://github.com/mmcclimon/advent-2020 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mmcclimon/advent-2020 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mmcclimon/advent-2020 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5d4f35956ba7c25e0e11555b123f32c2d438fd260f5584866ff502520740367
[INFO] running `Command { std: "docker" "start" "-a" "b5d4f35956ba7c25e0e11555b123f32c2d438fd260f5584866ff502520740367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5d4f35956ba7c25e0e11555b123f32c2d438fd260f5584866ff502520740367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5d4f35956ba7c25e0e11555b123f32c2d438fd260f5584866ff502520740367", kill_on_drop: false }`
[INFO] [stdout] b5d4f35956ba7c25e0e11555b123f32c2d438fd260f5584866ff502520740367
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a8e50df7faf3e220a6bf42ae6007dcbd0a45e35f2bda4059d49759ee57edc64
[INFO] running `Command { std: "docker" "start" "-a" "5a8e50df7faf3e220a6bf42ae6007dcbd0a45e35f2bda4059d49759ee57edc64", kill_on_drop: false }`
[INFO] [stderr]    Compiling advent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unconstrained opaque type
[INFO] [stdout]   --> src/bin/day16.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | type ValidatorMap = HashMap<String, impl Fn(usize) -> bool>;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValidatorMap` must be used in combination with a concrete type within the same crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day16.rs:92:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | type ValidatorMap = HashMap<String, impl Fn(usize) -> bool>;
[INFO] [stdout]    |                                     ---------------------- the expected opaque type
[INFO] [stdout] ...
[INFO] [stdout] 68 | fn parse_legend(lines: Vec<String>) -> ValidatorMap {
[INFO] [stdout]    |                                        ------------ expected `HashMap<String, ValidatorMap::{opaque#0}>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 84 |     let c = move |n| {
[INFO] [stdout]    |             -------- the found closure
[INFO] [stdout] ...
[INFO] [stdout] 89 |     validators.insert(desc.to_string(), c);
[INFO] [stdout]    |     ----------                          - this argument has type `{closure@src/bin/day16.rs:84:13: 84:21}`...
[INFO] [stdout]    |     |
[INFO] [stdout]    |     ... which causes `validators` to have type `HashMap<String, {closure@src/bin/day16.rs:84:13: 84:21}>`
[INFO] [stdout] ...
[INFO] [stdout] 92 |   validators
[INFO] [stdout]    |   ^^^^^^^^^^ expected `HashMap<String, ...>`, found `HashMap<String, {closure@...}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HashMap<_, ValidatorMap::{opaque#0}>`
[INFO] [stdout]               found struct `HashMap<_, {closure@src/bin/day16.rs:84:13: 84:21}>`
[INFO] [stdout] note: this item must have a `#[define_opaque(ValidatorMap)]` attribute to be able to define hidden types
[INFO] [stdout]   --> src/bin/day16.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn parse_legend(lines: Vec<String>) -> ValidatorMap {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 79 |       byr: byr?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent` (bin "day16") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 80 |       iyr: iyr?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 81 |       eyr: eyr?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 82 |       hgt: hgt?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 83 |       hcl: hcl?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 84 |       ecl: ecl?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> src/bin/day4.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |   ------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 85 |       pid: pid?,
[INFO] [stdout]    |               ^ use `.ok_or(...)?` to provide an error compatible with `Result<Passport, AdventError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent` (bin "day4") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "5a8e50df7faf3e220a6bf42ae6007dcbd0a45e35f2bda4059d49759ee57edc64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a8e50df7faf3e220a6bf42ae6007dcbd0a45e35f2bda4059d49759ee57edc64", kill_on_drop: false }`
[INFO] [stdout] 5a8e50df7faf3e220a6bf42ae6007dcbd0a45e35f2bda4059d49759ee57edc64
